//package com.sc.nft.task;
//
//import com.sc.nft.service.GoodsHitShelfBlacklistService;
//import com.sc.nft.service.NewSecondCollectionCommonService;
//import com.xxl.job.core.handler.annotation.XxlJob;
//import lombok.RequiredArgsConstructor;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Component;
//
//import java.util.List;
//
//@Component
//@RequiredArgsConstructor
//@Slf4j
//public class GoodsHitShelfBlacklistTask {
//
//    private final GoodsHitShelfBlacklistService goodsHitShelfBlacklistService;
//
//    private final NewSecondCollectionCommonService newSecondCollectionCommonService;
//
//    /**
//     * 定时扫描用户拉入黑名单
//     *
//     * @throws Exception
//     */
//    @XxlJob("blacklist")
//    public void blacklist() throws Exception {
//        List<Long> list = newSecondCollectionCommonService.userBlackList();
//        goodsHitShelfBlacklistService.saveBeach(list);
//    }
//
//}
